package chapter02;

public class Example12 {
    public static void main(String[] args) {
        int x = 1;               //定义变量下，初始值为1
        while (x >0){              //循环条件
            System.out.println("x ="+ x);   //条件成立，打印x的值
            x++;                    //x进行自增
        }
    }
}
